package com.lyc.common.interceptor;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;

/**
 * mybatisplus分页拦截器
 * @Author 李大神仙
 * @Date 2024/2/23 20:50
 * @Version 1.0
 */

//@Configuration
//@ConditionalOnClass(value = {PaginationInterceptor.class})
//public class MybatusPlusInterceptor {
//
//    @Bean
//    public PaginationInterceptor getPaginationInterceptor(){
//        return new PaginationInterceptor();
//    }
//}
